package com.eptok.gw.szcups.cups.busi;

import com.eptok.gw.szcups.common.GateWayConstant;
import com.eptok.gw.szcups.cups.busi.impl.OtherBusiImpl;
import com.eptok.gw.szcups.cups.busi.impl.SignInBusiImpl;

/**
 *@author:heqishan, Email:heqishan@gmail.com
 *2013-3-6 下午07:34:50
 */
public class ChanBusiFactory {
	
	/**
	 * 获取业务处理实例
	 * @param messageID	报文类型
	 * @return
	 */
	public static CupsBusiInterface getBusiInstance(String messageID){
		
		if(GateWayConstant.MSG_CODE_SING_RSP.equals(messageID)){	//签到
			return new SignInBusiImpl();
		}else{
			return new OtherBusiImpl();
		}
	} 
}
